home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 4 / ETO Development Tools 4.iso / Essentials / MacApp Documentation / MacApp.TECH$ Archives / 1991 / Feb 91 / MacApp.Tech$ 2⁄8⁄91 / 2839-Dynamic Arrays in Pa-Feb91 < prev    next >
Encoding:
Text File  |  1991-03-06  |  1.1 KB  |  35 lines  |  [TEXT/GEOL]

  1. Item    6709170                         3-Feb-91        02:55PST
  2.  
  3. From:   PEMD                            CH DEV PEMD Group, Zurich,IDV
  4.  
  5. To:     D2188                           Office Product Tech, B Toback,PRT
  6.  
  7. cc:     MACAPP.TECH$                    MacApp Technical
  8.  
  9. ------------------------------------------------------------------------------
  10.  
  11. Sub:    Dynamic Arrays in Pascal[2]
  12.  
  13. Dear Bruce,
  14.  
  15. Regarding "Dynamic Arrays in Pascal", what if I wrote (and correspondingly
  16. read) each element of a TDynamicArray object to disk.  Would this be notceably
  17. slower than writing (and reading) the entire array at once?
  18.  
  19. I'm also not sure how to write "... only as much of DataArray and PredictArray
  20. as necessary."  Please explain of bit more for me.
  21.  
  22. In yourstatement: FSWrite(DataArray, (kMaxDataLength+1) * numberOfPoints,
  23. aGraphRecord.DataArray), if numberOfPoints is less than then the size of
  24. aGraphRecord.DataArray will only elements 1 to numberOfPoints of
  25. aGraphRecord.DataArray be written to disk?  Or, am I completeing
  26. misunderstanding the whole thing?
  27.  
  28. Thanks,
  29. Ernie
  30.  
  31. Thanks,
  32. Ernie
  33.  
  34.  
  35.